import server from "../util/request.js";

export function queryRecord(data){
    return server({
        url:'/inpatientDischargeApp/list',
        method:'post',
        data
    })
}

export function submitDischarge(data) {
    return server({
        url: '/inpatientDischargeApp/add',
        method: 'post',
        data: data
    })
}

export function processDischarge(data) {
    return server({
        url: '/api/discharge/process',
        method: 'post',
        data: data
    })
}